import {req_get} from "@/request/cssdrequest";
import {R} from "@/type/dto/R";
import {RP} from "@/type/dto/RP";
import {ExamVO} from "@/type/vo/ExamVO";
import {OfficeDto} from "@/type/dto/OfficeDto";
import {OfficeInfoVO} from "@/type/vo/OfficeInfoVO";


export async function api_getOfficeList() {

    const data = await req_get('/hospital/office', {}
    );
    //转成我要的json
    console.log('data:', data);
    return JSON.parse(data) as R<Array<OfficeInfoVO>>;
}